/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@ApiModel(value = "项目相关方人员实体类", description = "项目相关方人员实体类")
public class ProjectStaff extends BaseEntity {
    @ApiModelProperty(name = "projectId", value = "项目id", dataType = "String")
    private String projectId;

    @ApiModelProperty(name = "enterpriseId", value = "项目相关方id", dataType = "String")
    private String enterpriseId;

    @ApiModelProperty(name = "name", value = "姓名", dataType = "String")
    private String name;

    @ApiModelProperty(name = "sex", value = "性别：0.男，1.女", dataType = "Integer")
    private Integer sex;

    @ApiModelProperty(name = "idCardNumber", value = "身份证号码", dataType = "String")
    private String idCardNumber;

    @ApiModelProperty(name = "phoneNumber", value = "电话号码", dataType = "String")
    private String phoneNumber;

    @ApiModelProperty(name = "joinDate", value = "加入日期", dataType = "date")
    private Date joinDate;

    @ApiModelProperty(name = "exitDate", value = "退出日期", dataType = "date")
    private Date exitDate;

    @ApiModelProperty(name = "historyFlag", value = "是否为历史：0.不是，1.是", dataType = "Integer")
    private Integer historyFlag;

    private String projectName;

    private String enterpriseName;

    private Integer workState;

    private Date lastWorkDate;
    private String lastWorkDateStr;
    private String corpCode;
    private String corpName;


    private List<ProjectCertificate> projectCertificateList;

    private List<ProjectTraining> projectTrainingList;

    public List<ProjectCertificate> getProjectCertificateList() {
        return projectCertificateList;
    }

    public void setProjectCertificateList(List<ProjectCertificate> projectCertificateList) {
        this.projectCertificateList = projectCertificateList;
    }

    public List<ProjectTraining> getProjectTrainingList() {
        return projectTrainingList;
    }

    public void setProjectTrainingList(List<ProjectTraining> projectTrainingList) {
        this.projectTrainingList = projectTrainingList;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public Integer getWorkState() {
        return workState;
    }

    public void setWorkState(Integer workState) {
        this.workState = workState;
    }

    public Date getLastWorkDate() {
        return lastWorkDate;
    }

    public void setLastWorkDate(Date lastWorkDate) {
        this.lastWorkDate = lastWorkDate;
    }


    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getIdCardNumber() {
        return idCardNumber;
    }

    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Date getJoinDate() {
        return joinDate;
    }

    public void setJoinDate(Date joinDate) {
        this.joinDate = joinDate;
    }

    public Date getExitDate() {
        return exitDate;
    }

    public void setExitDate(Date exitDate) {
        this.exitDate = exitDate;
    }

    public Integer getHistoryFlag() {
        return historyFlag;
    }

    public void setHistoryFlag(Integer historyFlag) {
        this.historyFlag = historyFlag;
    }

    public String getLastWorkDateStr() {
        return lastWorkDateStr;
    }

    public void setLastWorkDateStr(String lastWorkDateStr) {
        this.lastWorkDateStr = lastWorkDateStr;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
}